<?php
//1
define("CURRENT_TIME", time());
print "1 ". CURRENT_TIME;
print "<br>2 ". $CURRENT_TIME;
print "<br>3 ". CURRENT_TImE;

//2
echo "<br><br>";
define("CURRENT_TIME_T", time(), true);
print "1 ". CURRENT_TIME_T;
print "<br>2 ". CURRENT_TImE_T;

//3
echo "<br><br>";
$some = "CURRENT_TIME_T";
print "1 ". constant($some);
if(defined("CURRENT_TIME")) echo "<br>define1";
else echo "<br>not define 1";

if(defined("aaa")) echo "<br>define aa";
else echo "<br>not define aa";

//constant
echo "<br><br>";
define("New_Current_Time", time(), true);
$somevar = "NeW_CuRRENT_TIME";
print constant($somevar);

$abc = 'aa';
if(defined('abc')) echo '<br>abc';
else echo '<br> not abc';
?>